home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9806 / 000202_owner-linux-arm…r.rutgers.edu _Thu Jun 18 00:18:23 1998.msg < prev    next >
Internet Message Format  |  1998-06-30  |  14KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from virtual.bbc.co.uk (virtual.bbc.co.uk [132.185.132.199])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id AAA02397
  4.     for <willy@odie.barnet.ac.uk>; Thu, 18 Jun 1998 00:18:22 +0100
  5. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  6.     by virtual.bbc.co.uk (8.8.5/8.8.5) with ESMTP id AAA19058
  7.     for <willy@bofh.ai>; Thu, 18 Jun 1998 00:45:03 +0100 (BST)
  8. Received: from vger.rutgers.edu ([128.6.190.2]:53836 "EHLO vger.rutgers.edu" ident: "root") by nic.funet.fi with ESMTP id <11105-7151>; Thu, 18 Jun 1998 02:44:50 +0300
  9. Received: by vger.rutgers.edu id <971111-2834>; Wed, 17 Jun 1998 17:16:42 -0400
  10. Received: from cr10m.staffs.ac.uk ([193.60.4.10]:1413 "EHLO cr10m.staffs.ac.uk" ident: "NO-IDENT-SERVICE[2]") by vger.rutgers.edu with ESMTP id <971372-2834>; Wed, 17 Jun 1998 16:26:59 -0400
  11. Received: from delenn (sth193.staffs.ac.uk [193.62.26.193])
  12.     by cr10m.staffs.ac.uk (8.8.6/8.8.6) with SMTP id VAA05282
  13.     for <linux-arm@vger.rutgers.edu>; Wed, 17 Jun 1998 21:38:09 +0100 (BST)
  14. MIME-Version: 1.0
  15. From: Ian Molton <mh120608@cr10m.staffs.ac.uk>
  16. To: linux-arm@vger.rutgers.edu
  17. Date:     Wed, 17 Jun 1998 21:39:24 +0100
  18. Message-ID: <7c99e85mh120608@staffs.ac.uk>
  19. X-Mailer: Pluto 1.08g for RISC OS 3.7
  20. Subject: What do ppl make of this one?
  21. Content-Type: text/plain
  22. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  23. Sender: owner-linux-arm@vger.rutgers.edu
  24. Precedence: bulk
  25. X-Loop: majordomo@vger.rutgers.edu
  26. Status: RO
  27.  
  28. Ok, here we go...
  29.  
  30. I have a vanilla 2.0.34 system, which I originally installed using the
  31. 2.0.33 kernel, but have upgraded the modules and kernel to 2.0.34.
  32.  
  33. The compiler didnt work. it gave the following error when compiling circle
  34. 3.x bpl13 (www.circlemud.org)
  35.  
  36. [[[[
  37. make ../bin/circle
  38. make[1]: Entering directory `/root/circle/src'
  39. gcc -c -g -O2 -Wall  comm.c
  40. In file included from /usr/arm-unknown-linuxaout/include/stdlib.h:42,
  41.                  from sysdep.h:108,
  42.                  from comm.c:14:
  43. /usr/include/errno.h:27: linux/errno.h: No such file or directory
  44. make[1]: *** [comm.o] Error 1
  45. make[1]: Leaving directory `/root/circle/src'
  46. make: *** [all] Error 2
  47. [root@delenn src]#
  48. ]]]]
  49.  
  50.  
  51. I tried this fix from the mailinglist archive - 
  52.  
  53. [[[[
  54. Mmm.  This _is_ a FAQ though it's not ARMLinux specific and as such    
  55. probably isn't mentioned in Russell's FAQ.  The libc we're currently using
  56. (libc 4) requires kernel headers in order to compile (almost) anything. 
  57. libc 6 which we will move t once we have ELF support is much less
  58. dependent upon having the kernel headers.  There might be an RPM which
  59. contains the kernel headers, but personally, I downloaded the linux kernel
  60. source (ftp://sunsite.org.uk/Mirrors/ftp.kernel.org/pub/linux/kernel/v2.0/
  61.  linux-2.0.33.tar.gz),  unpacked it into /usr/src/linux, downloaded the
  62. latest kernel patch from Russell
  63. (ftp://ftp.arm.uk.linux.org/pub/armlinux/kernel-sources/v2.0/), patched
  64. the kernel to give armlinux support (cd /usr/src/linux; zcat arm-2.0.33.gz
  65. | patch -p1), make config (this is important), \and then set up the
  66. appropriate symlinks:
  67.  
  68. ln -s /usr/src/linux/include/linux /usr/include ln -s
  69. /usr/src/linux/include/asm /usr/include ln -s /usr/src/linux/include/scsi
  70. /usr/include
  71. ]]]]
  72.  
  73. and I then get these errors (quite long, sorry!)
  74.  
  75. [[[[
  76. [delenn src]# make
  77. make ../bin/circle
  78. make[1]: Entering directory `/root/circle/src'
  79. gcc -c -g -O2 -Wall  comm.c
  80. In file included from sysdep.h:94,
  81.                  from comm.c:14:
  82. /usr/arm-unknown-linuxaout/include/stdio.h:71: warning: empty declaration
  83. comm.c:120: warning: parameter has incomplete type
  84. comm.c:120: warning: parameter has incomplete type
  85. comm.c:121: warning: parameter has incomplete type
  86. comm.c:121: warning: parameter has incomplete type
  87. comm.c: In function `main':
  88. comm.c:268: warning: implicit declaration of function `chdir'
  89. comm.c: In function `init_game':
  90. comm.c:321: warning: implicit declaration of function `close'
  91. comm.c: In function `init_socket':
  92. comm.c:340: storage size of `sa' isn't known
  93. comm.c:375: warning: implicit declaration of function `socket'
  94. comm.c:375: `PF_INET' undeclared (first use this function)
  95. comm.c:375: (Each undeclared identifier is reported only once
  96. comm.c:375: for each function it appears in.)
  97. comm.c:375: `SOCK_STREAM' undeclared (first use this function)
  98. comm.c:404: `AF_INET' undeclared (first use this function)
  99. comm.c:405: warning: implicit declaration of function `htons'
  100. comm.c:406: warning: implicit declaration of function `htonl'
  101. comm.c:406: `INADDR_ANY' undeclared (first use this function)
  102. comm.c:408: warning: implicit declaration of function `bind'
  103. comm.c:414: warning: implicit declaration of function `listen'
  104. comm.c:340: warning: unused variable `sa'
  105. comm.c:339: warning: unused variable `opt'
  106. comm.c: In function `game_loop':
  107. comm.c:513: `fd_set' undeclared (first use this function)
  108. comm.c:513: parse error before `input_set'
  109. comm.c:514: storage size of `last_time' isn't known
  110. comm.c:514: storage size of `before_sleep' isn't known
  111. comm.c:514: storage size of `opt_time' isn't known
  112. comm.c:514: storage size of `process_time' isn't known
  113. comm.c:514: storage size of `now' isn't known
  114. comm.c:514: storage size of `timeout' isn't known
  115. comm.c:520: invalid use of undefined type `struct timeval'
  116. comm.c:521: invalid use of undefined type `struct timeval'
  117. comm.c:524: warning: implicit declaration of function `FD_ZERO'
  118. comm.c:524: `null_set' undeclared (first use this function)
  119. comm.c:526: warning: implicit declaration of function `gettimeofday'
  120. comm.c:534: `input_set' undeclared (first use this function)
  121. comm.c:535: warning: implicit declaration of function `FD_SET'
  122. comm.c:536: warning: implicit declaration of function `select'
  123. comm.c:536: parse error before `)'
  124. comm.c:547: `output_set' undeclared (first use this function)
  125. comm.c:548: `exc_set' undeclared (first use this function)
  126. comm.c:570: type of formal parameter 1 is incomplete
  127. comm.c:570: type of formal parameter 2 is incomplete
  128. comm.c:570: invalid use of undefined type `struct timeval'
  129. comm.c:586: type of formal parameter 1 is incomplete
  130. comm.c:586: type of formal parameter 2 is incomplete
  131. comm.c:586: invalid use of undefined type `struct timeval'
  132. comm.c:586: type of formal parameter 1 is incomplete
  133. comm.c:586: type of formal parameter 2 is incomplete
  134. comm.c:586: invalid use of undefined type `struct timeval'
  135. comm.c:590: type of formal parameter 1 is incomplete
  136. comm.c:590: type of formal parameter 2 is incomplete
  137. comm.c:590: invalid use of undefined type `struct timeval'
  138. comm.c:597: parse error before `)'
  139. comm.c:602: parse error before `}'
  140. comm.c:605: type of formal parameter 1 is incomplete
  141. comm.c:605: type of formal parameter 2 is incomplete
  142. comm.c:605: invalid use of undefined type `struct timeval'
  143. comm.c:517: warning: unused variable `aliased'
  144. comm.c:517: warning: unused variable `pulse'
  145. comm.c:516: warning: unused variable `next_d'
  146. comm.c:515: warning: unused variable `comm'
  147. comm.c:514: warning: unused variable `timeout'
  148. comm.c:514: warning: unused variable `now'
  149. comm.c:514: warning: unused variable `process_time'
  150. comm.c:514: warning: unused variable `opt_time'
  151. comm.c:514: warning: unused variable `before_sleep'
  152. comm.c:514: warning: unused variable `last_time'
  153. comm.c: At top level:
  154. comm.c:606: parse error before `while'
  155. comm.c:618: warning: data definition has no type or storage class
  156. comm.c:618: `next_d' undeclared here (not in a function)
  157. comm.c:618: parse error before `)'
  158. comm.c:622: parse error before `->'
  159. comm.c:622: warning: data definition has no type or storage class
  160. comm.c:623: warning: parameter names (without types) in function
  161. declaration
  162. comm.c:623: conflicting types for `close_socket'
  163. comm.h:19: previous declaration of `close_socket'
  164. comm.c:623: warning: data definition has no type or storage class
  165. comm.c:624: parse error before `}'
  166. comm.c:628: warning: data definition has no type or storage class
  167. comm.c:628: redefinition of `d'
  168. comm.c:618: `d' previously defined here
  169. comm.c:628: `next_d' undeclared here (not in a function)
  170. comm.c:628: parse error before `)'
  171. comm.c:636: warning: data definition has no type or storage class
  172. comm.c:636: redefinition of `d'
  173. comm.c:628: `d' previously defined here
  174. comm.c:636: `next_d' undeclared here (not in a function)
  175. comm.c:636: parse error before `)'
  176. comm.c:653: parse error before `->'
  177. comm.c:654: parse error before `->'
  178. comm.c:655: parse error before string constant
  179. comm.c:655: conflicting types for `act'
  180. comm.h:25: previous declaration of `act'
  181. comm.c:655: parse error before `->'
  182. comm.c:672: parse error before `->'
  183. comm.c:672: conflicting types for `command_interpreter'
  184. interpreter.h:20: previous declaration of `command_interpreter'
  185. comm.c:672: warning: data definition has no type or storage class
  186. comm.c:677: warning: data definition has no type or storage class
  187. comm.c:677: redefinition of `d'
  188. comm.c:636: `d' previously defined here
  189. comm.c:677: `next_d' undeclared here (not in a function)
  190. comm.c:677: parse error before `)'
  191. comm.c:689: warning: data definition has no type or storage class
  192. comm.c:689: redefinition of `d'
  193. comm.c:677: `d' previously defined here
  194. comm.c:689: invalid type argument of `->'
  195. comm.c:689: parse error before `)'
  196. comm.c:697: warning: data definition has no type or storage class
  197. comm.c:697: redefinition of `d'
  198. comm.c:689: `d' previously defined here
  199. comm.c:697: `next_d' undeclared here (not in a function)
  200. comm.c:697: parse error before `)'
  201. comm.c:712: warning: data definition has no type or storage class
  202. comm.c:713: parse error before `}'
  203. comm.c:718: redefinition of `missed_pulses'
  204. comm.c:712: `missed_pulses' previously defined here
  205. comm.c:718: warning: data definition has no type or storage class
  206. comm.c:719: parse error before `}'
  207. ccomm.c:789: parameter `a' has incomplete type
  208. comm.c:789: parameter `b' has incomplete type
  209. comm.c:789: return-type is an incomplete type
  210. comm.c:789: conflicting types for `timediff'
  211. comm.c:120: previous declaration of `timediff'
  212. comm.c: In function `timediff':
  213. comm.c:790: storage size of `rslt' isn't known
  214. comm.c:793: warning: `return' with a value, in function returning void
  215. comm.c:796: warning: `return' with a value, in function returning void
  216. comm.c:800: warning: `return' with a value, in function returning void
  217. comm.c:809: warning: `return' with a value, in function returning void
  218. comm.c:790: warning: unused variable `rslt'
  219. comm.c: At top level:
  220. comm.c:815: parameter `a' has incomplete type
  221. comm.c:815: parameter `b' has incomplete type
  222. comm.c:815: return-type is an incomplete type
  223. comm.c:815: conflicting types for `timeadd'
  224. comm.c:121: previous declaration of `timeadd'
  225. comm.c: In function `timeadd':
  226. comm.c:816: storage size of `rslt' isn't known
  227. comm.c:826: warning: `return' with a value, in function returning void
  228. comm.c:816: warning: unused variable `rslt'
  229. comm.c: In function `new_descriptor':
  230. comm.c:1075: storage size of `peer' isn't known
  231. comm.c:1080: warning: implicit declaration of function `accept'
  232. comm.c:1110: `AF_INET' undeclared (first use this function)
  233. comm.c:1117: warning: implicit declaration of function `ntohl'
  234. comm.c:1075: warning: unused variable `peer'
  235. comm.c: In function `write_to_descriptor':
  236. comm.c:1246: warning: implicit declaration of function `write'
  237. comm.c: In function `process_input':
  238. comm.c:1299: warning: implicit declaration of function `read'
  239. comm.c: At top level:
  240. comm.c:1508: conflicting types for `close_socket'
  241. comm.c:623: previous declaration of `close_socket'
  242. comm.c: In function `nonblock':
  243. comm.c:1623: warning: implicit declaration of function `fcntl'
  244. comm.c:1623: `F_GETFL' undeclared (first use this function)
  245. comm.c:1624: `O_NDELAY' undeclared (first use this function)
  246. comm.c:1625: `F_SETFL' undeclared (first use this function)
  247. comm.c: In function `reread_wizlists':
  248. comm.c:1644: warning: control reaches end of non-void function
  249. comm.c: In function `unrestrict_game':
  250. comm.c:1654: warning: control reaches end of non-void function
  251. comm.c: In function `reap':
  252. comm.c:1661: warning: implicit declaration of function `waitpid'
  253. comm.c:1661: `WNOHANG' undeclared (first use this function)
  254. comm.c:1663: warning: implicit declaration of function `my_signal'
  255. comm.c:1663: `SIGCHLD' undeclared (first use this function)
  256. comm.c:1664: warning: control reaches end of non-void function
  257. comm.c: In function `checkpointing':
  258. comm.c:1673: warning: control reaches end of non-void function
  259. comm.c: In function `signal_setup':
  260. comm.c:1722: storage size of `itime' isn't known
  261. comm.c:1723: storage size of `interval' isn't known
  262. comm.c:1726: warning: implicit declaration of function `signal'
  263. comm.c:1726: `SIGUSR1' undeclared (first use this function)
  264. comm.c:1732: `SIGUSR2' undeclared (first use this function)
  265. comm.c:1742: warning: implicit declaration of function `setitimer'
  266. comm.c:1742: `ITIMER_VIRTUAL' undeclared (first use this function)
  267. comm.c:1743: `SIGVTALRM' undeclared (first use this function)
  268. comm.c:1746: `SIGHUP' undeclared (first use this function)
  269. comm.c:1747: `SIGCHLD' undeclared (first use this function)
  270. comm.c:1749: `SIGINT' undeclared (first use this function)
  271. comm.c:1750: `SIGTERM' undeclared (first use this function)
  272. comm.c:1751: `SIGPIPE' undeclared (first use this function)
  273. comm.c:1751: `SIG_IGN' undeclared (first use this function)
  274. comm.c:1752: `SIGALRM' undeclared (first use this function)
  275. comm.c:1723: warning: unused variable `interval'
  276. comm.c:1722: warning: unused variable `itime'
  277. comm.c: At top level:
  278. comm.c:1901: conflicting types for `act'
  279. comm.c:655: previous declaration of `act'
  280. comm.c:106: storage size of `null_time' isn't known
  281. make[1]: *** [comm.o] Error 1
  282. make[1]: Leaving directory `/root/circle/src'
  283. make: *** [all] Error 2
  284. [delenn src]# 
  285. ]]]]
  286.  
  287. Anyone got /any/ idea whats going on? this is driving me nuts!
  288.  
  289. Any help MUCH appreciated!
  290.  
  291. -- 
  292. -Ian aka Lennier
  293. Acorn Computers, the best in the world
  294. http://www.users.zetnet.co.uk/hawk/
  295. BaBe - Womens human rights organisation in Croatia
  296. http://www.users.zetnet.co.uk/hawk/babe/
  297.  
  298. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu